﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A83 RID: 2691
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LobbyKickOutCsReq : IMessage<LobbyKickOutCsReq>, IMessage, IEquatable<LobbyKickOutCsReq>, IDeepCloneable<LobbyKickOutCsReq>, IBufferMessage
	{
		// Token: 0x170021FD RID: 8701
		// (get) Token: 0x06007871 RID: 30833 RVA: 0x00141D48 File Offset: 0x0013FF48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LobbyKickOutCsReq> Parser
		{
			get
			{
				return LobbyKickOutCsReq._parser;
			}
		}

		// Token: 0x170021FE RID: 8702
		// (get) Token: 0x06007872 RID: 30834 RVA: 0x00141D4F File Offset: 0x0013FF4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LobbyKickOutCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170021FF RID: 8703
		// (get) Token: 0x06007873 RID: 30835 RVA: 0x00141D61 File Offset: 0x0013FF61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LobbyKickOutCsReq.Descriptor;
			}
		}

		// Token: 0x06007874 RID: 30836 RVA: 0x00141D68 File Offset: 0x0013FF68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyKickOutCsReq()
		{
		}

		// Token: 0x06007875 RID: 30837 RVA: 0x00141D70 File Offset: 0x0013FF70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyKickOutCsReq(LobbyKickOutCsReq other) : this()
		{
			this.uid_ = other.uid_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007876 RID: 30838 RVA: 0x00141D95 File Offset: 0x0013FF95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyKickOutCsReq Clone()
		{
			return new LobbyKickOutCsReq(this);
		}

		// Token: 0x17002200 RID: 8704
		// (get) Token: 0x06007877 RID: 30839 RVA: 0x00141D9D File Offset: 0x0013FF9D
		// (set) Token: 0x06007878 RID: 30840 RVA: 0x00141DA5 File Offset: 0x0013FFA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x06007879 RID: 30841 RVA: 0x00141DAE File Offset: 0x0013FFAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LobbyKickOutCsReq);
		}

		// Token: 0x0600787A RID: 30842 RVA: 0x00141DBC File Offset: 0x0013FFBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LobbyKickOutCsReq other)
		{
			return other != null && (other == this || (this.Uid == other.Uid && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600787B RID: 30843 RVA: 0x00141DEC File Offset: 0x0013FFEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600787C RID: 30844 RVA: 0x00141E2B File Offset: 0x0014002B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600787D RID: 30845 RVA: 0x00141E33 File Offset: 0x00140033
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600787E RID: 30846 RVA: 0x00141E3C File Offset: 0x0014003C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Uid != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Uid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600787F RID: 30847 RVA: 0x00141E70 File Offset: 0x00140070
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007880 RID: 30848 RVA: 0x00141EAE File Offset: 0x001400AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LobbyKickOutCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007881 RID: 30849 RVA: 0x00141EDF File Offset: 0x001400DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007882 RID: 30850 RVA: 0x00141EE8 File Offset: 0x001400E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Uid = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002E17 RID: 11799
		private static readonly MessageParser<LobbyKickOutCsReq> _parser = new MessageParser<LobbyKickOutCsReq>(() => new LobbyKickOutCsReq());

		// Token: 0x04002E18 RID: 11800
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E19 RID: 11801
		public const int UidFieldNumber = 3;

		// Token: 0x04002E1A RID: 11802
		private uint uid_;
	}
}
